package classDemo;

import classDemo.Foo1.Koo1;

public class Demo8 {
	public static void main(String[] args) {
		//Foo1.Koo1 koo1 = new Foo1.Koo1();   静态的时候使用
		Foo1 foo1 = new Foo1();
		Koo1 koo1 = foo1.new Koo1();
	}
}

class Foo1{
	int a =12;
	class Koo1{
		public void show(){
			System.out.println(a);
		}
	}
}
